package com.zk.erp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping("{page}")
    public String page(@PathVariable String page){
        return page;
    }
    @RequestMapping("{path}/{page}")
    public String path(@PathVariable("path")String path,@PathVariable("page")String page){
        return path+"/"+page;
    }
}
